<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>8-指令:通过v-bind渲染属性值</title>
	<script src="./js/vue.js"></script>
</head>
<body>
	<!-- 模板 -->
	<div id="demo" v-bind:cutomId="id">
		{{message}}
	</div>

	<script>
		// 需求:把id的值渲染到 demo里
		var vdata = {
			message:"hello,Vue",
			id:"123"
		}
		new Vue({
			el:"#demo",
			data:vdata
		});
	</script>
</body>
</html>